class Adder
{
public:
    Adder(int i = 0)
    {
        total = i;
    }
    void addNum(int number)
    {
        total += number;
    }
    int getTotal()
    {
        return total;
    }

private:
    int total;
};